package com.zbec.mdrs.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by fxl on 2015/10/17.
 */
public class DraftsVo extends RecordEntityVo implements Serializable {
    private String zzjgdm;//组织机构代码
    private String sjsj;//数据年月
    private String cprmc;//出票人名称
    private String jrjgbm;//承兑金融机构编码
    private String bz;//币种
    private BigDecimal hpje;//汇票金额
    private Date hpcdr;//汇票承兑日
    private Date hpdqr;//汇票到期日
    private Date hpfkrq;//汇票付款日期
    private BigDecimal bzjbl;//保证金比例
    private String dbbz;//担保标志
    private String wjfl;//五级分类
    private String dkbz;//垫款标志

    private String bzDesc;//币种
    private String dbbzDesc;//担保标志
    private String wjflDesc;//五级分类
    private String dkbzDesc;//垫款标志
    private String cdxyh;//承兑协议号码

    public DraftsVo() {
    }

    public DraftsVo(Long id,String zzjgdm, String sjsj, String cprmc, String jrjgbm, String bz, BigDecimal hpje,
                    Date hpcdr, Date hpdqr, Date hpfkrq, BigDecimal bzjbl, String dbbz, String wjfl, String dkbz,String cdxyh,
                    String source, String recordStatus, String reportStatus,
                    String existError, String errorDesc, String missedField,Long recordId) {

        this.id = id;
        this.zzjgdm = zzjgdm;
        this.sjsj = sjsj;
        this.cprmc = cprmc;
        this.jrjgbm = jrjgbm;
        this.bz = bz;
        this.hpje = hpje;
        this.hpcdr = hpcdr;
        this.hpdqr = hpdqr;
        this.hpfkrq = hpfkrq;
        this.bzjbl = bzjbl;
        this.dbbz = dbbz;
        this.wjfl = wjfl;
        this.dkbz = dkbz;
        this.cdxyh=cdxyh;
        this.source = source;
        this.recordStatus = recordStatus;
        this.reportStatus = reportStatus;
        this.existError = existError;
        this.errorDesc = errorDesc;
        this.missedField = missedField;
        this.recordId = recordId;
    }

    public String getZzjgdm() {
        return zzjgdm;
    }

    public void setZzjgdm(String zzjgdm) {
        this.zzjgdm = zzjgdm;
    }

    public String getSjsj() {
        return sjsj;
    }

    public void setSjsj(String sjsj) {
        this.sjsj = sjsj;
    }

    public String getCprmc() {
        return cprmc;
    }

    public void setCprmc(String cprmc) {
        this.cprmc = cprmc;
    }

    public String getJrjgbm() {
        return jrjgbm;
    }

    public void setJrjgbm(String jrjgbm) {
        this.jrjgbm = jrjgbm;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public BigDecimal getHpje() {
        return hpje;
    }

    public void setHpje(BigDecimal hpje) {
        this.hpje = hpje;
    }

    public Date getHpcdr() {
        return hpcdr;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setHpcdr(Date hpcdr) {
        this.hpcdr = hpcdr;
    }

    public Date getHpdqr() {
        return hpdqr;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setHpdqr(Date hpdqr) {
        this.hpdqr = hpdqr;
    }

    public Date getHpfkrq() {
        return hpfkrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setHpfkrq(Date hpfkrq) {
        this.hpfkrq = hpfkrq;
    }

    public BigDecimal getBzjbl() {
        return bzjbl;
    }

    public void setBzjbl(BigDecimal bzjbl) {
        this.bzjbl = bzjbl;
    }

    public String getDbbz() {
        return dbbz;
    }

    public void setDbbz(String dbbz) {
        this.dbbz = dbbz;
    }

    public String getWjfl() {
        return wjfl;
    }

    public void setWjfl(String wjfl) {
        this.wjfl = wjfl;
    }

    public String getDkbz() {
        return dkbz;
    }

    public void setDkbz(String dkbz) {
        this.dkbz = dkbz;
    }

    public String getBzDesc() {
        return bzDesc;
    }

    public void setBzDesc(String bzDesc) {
        this.bzDesc = bzDesc;
    }

    public String getDbbzDesc() {
        return dbbzDesc;
    }

    public void setDbbzDesc(String dbbzDesc) {
        this.dbbzDesc = dbbzDesc;
    }

    public String getWjflDesc() {
        return wjflDesc;
    }

    public void setWjflDesc(String wjflDesc) {
        this.wjflDesc = wjflDesc;
    }

    public String getDkbzDesc() {
        return dkbzDesc;
    }

    public void setDkbzDesc(String dkbzDesc) {
        this.dkbzDesc = dkbzDesc;
    }

    public String getCdxyh() {
        return cdxyh;
    }

    public void setCdxyh(String cdxyh) {
        this.cdxyh = cdxyh;
    }
}
